package com.myway.dto.waybill;

import com.myway.dto.order.DTOOrder;
import com.myway.dto.waybill.domain.WayBillStatus;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @类名称：DTOWayBill 
 * @类描述：运单信息类 
 * @创建时间：2015年11月13日 下午4:49:06 
 * @author Jiang.Yida
 * @version V1.0
 */
public class DTOWayBill implements Serializable {
	
	private static final long serialVersionUID = 1L;
	/**
	 * 运单信息Id
	 */
	private long id;

	/**
	 * 运单编号
	 */
	private String wayBillNo;
	/**
	 * 地址
	 */
	private String address;
	/**
	 * 姓名
	 */
	private String name;
	/**
	 * 联系电话
	 */
	private String phone;
	/**
	 * 快递公司
	 */
	private Long expressId;
	/**
	 * 订单单号
	 */
	private String orderNo;
	
	private DTOOrder dtoOrder;
	
	
	/**
	 * 备注
	 */
	private String remark;
	/**

	 * 运费 //added by shuai-wang
	 */
	private BigDecimal amount;
	/**
	 * 邮编
	 */
	private String postCode;
	
	private String province;//省
	private String city;//市
	private String area;//市
	
	

	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	//预订日期
	private Date createTime;

	private Date updateTime;

	/**
	 * 状态
	 * @return
	 */
	private WayBillStatus status;

	public String getPostCode() {
		return postCode;
	}
	public void setPostCode(String postCode) {
		this.postCode = postCode;
	}
	public long getId() {
		return id;
	}
	/**
	 * @param wayBillId the wayBillId to set
	 */
	public void setId(long id) {
		this.id = id;
	}
	/**
	 * @return the wayBillNo
	 */
	public String getWayBillNo() {
		return wayBillNo;
	}
	/**
	 * @param wayBillNo the wayBillNo to set
	 */
	public void setWayBillNo(String wayBillNo) {
		this.wayBillNo = wayBillNo;
	}
	/**
	 * @return the address
	 */
	public String getAddress() {
		return address;
	}
	/**
	 * @param address the address to set
	 */
	public void setAddress(String address) {
		this.address = address;
	}
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * @return the phone
	 */
	public String getPhone() {
		return phone;
	}
	/**
	 * @param phone the phone to set
	 */
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public Long getExpressId() {
		return expressId;
	}
	public void setExpressId(Long expressId) {
		this.expressId = expressId;
	}
	/**
	 * @return the orderNo
	 */
	public String getOrderNo() {
		return orderNo;
	}
	/**
	 * @param orderNo the orderNo to set
	 */
	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}
	/**
	 * @return the remark
	 */
	public String getRemark() {
		return remark;
	}
	/**
	 * @param remark the remark to set
	 */
	public void setRemark(String remark) {
		this.remark = remark;
	}

	
	public BigDecimal getAmount() {
		return amount;
	}
	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}
	public DTOOrder getDtoOrder() {
		return dtoOrder;
	}
	public void setDtoOrder(DTOOrder dtoOrder) {
		this.dtoOrder = dtoOrder;
	}
	public WayBillStatus getStatus() {
		return status;
	}
	public void setStatus(WayBillStatus status) {
		this.status = status;
	}
	public String getProvince() {
		return province;
	}
	public void setProvince(String province) {
		this.province = province;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public String getArea() {
		return area;
	}
	public void setArea(String area) {
		this.area = area;
	}
	
	
	
}
